<?php 
	include '../includes/verificasession.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Comentários.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
			<?php if( $_SESSION['NV_ACESSO_USUARIO'] >= 1 )
            {?>
        <title>SISAT "Sistema de Atendimento Externo"</title>
        <!-- Chamada da página de estilo da Página -->
        <link rel="stylesheet" type="text/css" href="../includes/css/estilo.css" />
        <!-- Chamada da página de estilo da Página do Login -->
        <link rel="stylesheet" type="text/css" href="../includes/css/login.css" />
        <link rel="stylesheet" type="text/css" href="../includes/css/fullcalendar.css" />
		<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.print.css' media='print' />
        <link rel="stylesheet" type="text/css" href="../includes/css/demos.css" />
        <link rel="stylesheet" type="text/css" href="../includes/css/cadastro.css" />
        <link rel="stylesheet" type="text/css" href="../includes/css/tabs.css" />
		<link rel="stylesheet" type="text/css" href="../includes/css/jquery.ui.theme.css" />

        <script type="text/javascript" src="../includes/js/jquery.js"></script>
        <script type="text/javascript" src="../includes/js/jquery-ui-1.8.17.custom.min.js"></script>
        <script type="text/javascript" src="../includes/js/fullcalendar.js"></script>
        <script type="text/javascript" src="../includes/js/gcal.js"></script>
        <script type="text/javascript" src="../includes/js/jquery.bgiframe-2.1.2.js"></script>
        <script type="text/javascript" src="../includes/js/jquery-ui.min.js"></script>
        <script type="text/javascript" src="../includes/js/funcoes.js"></script>
        <script type="text/javascript" src="../includes/js/jquery.ui.core.js"></script>
        <script type="text/javascript" src="../includes/js/jquery.ui.widget.js"></script>
        <script type="text/javascript" src="../includes/js/jquery.ui.tabs.js"></script>
        <script type="text/javascript" src="../includes/js/jquery.maskedinput-1.1.4.pack.js"></script>
        <script>
            $(document).ready(function() {
            	montaCalendario('');
            });

        </script>
    </head>
    <body>
		<div id="wrapper">
			<div id="header">
				<div id="logo">
					<h1></h1>
				</div>
				<div id="menu">
					<?php include '../includes/menu.php'?>
				</div>
			</div>
			<div id="pcadastro">
				<h1 style="font-size:2em;">Agenda</h1>
				<div id="content" style="width:955px;">
					<table width="100%" border="0">
						<tr>
							<td style="width: 69px; font-size: 16px;">Usuário:</td>
							<td>
								<select name="ID_ESPECIALIDADE" onchange="listarChamadosPorUsuario(this);">
									<option value=""></option>
									<?php include 'usuariosSelectCombo.php'; ?>
								</select>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<div style="margin:3em 0;font-size:13px" id="calendar" class="fc">
								</div>
							</td>
						</tr>
					</table>
					<div id="divModal">
                    </div>
				</div>
			</div>
		</div>
	<br class="clearfix" />
		<div id="footer">Copyright (c) 2012 SISAT "Sistema de Atendimento Externo."</div>
    </body>
</html>
<?php 
} else 
{
echo "
<META HTTP-EQUIV=REFRESH CONTENT='0; URL=../principal/inicio.php'>
<script type=\"text/javascript\">
alert(\"Página restrita, entre em contato com o Administrador!\");
</script>
";
exit;
}
?>
